FROM openjdk:8-jre-alpine

MAINTAINER 13121009557@sina.cn

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /ck-springboot-redis

WORKDIR /ck-springboot-redis

EXPOSE 9092

ADD ./ck-springboot-redis/target/ck-springboot-redis-0.0.1-SNAPSHOT.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar ck-springboot-redis-0.0.1-SNAPSHOT.jar